<link rel="stylesheet" href="!{res lib='jquery_ui.css'}" type="text/css"/>
<link rel="stylesheet" href="!{res file='js/jquery_plus/farbtastic/farbtastic.css'}" type="text/css"/>
<link rel="stylesheet" href="!{res file='yu_editor/css/layout.css'}" type="text/css"/>
<div id="templateeditortooler">
	<div id="tool_head">
		<h1><img src="/template/yu_editor/images/logo_0.gif"/></h1>
		<ul class="tool_menu tabs" target="tool_body">
			<li class="selected"><a href="javascript:void(0)" content="recommend">精彩推荐</a></li>
			<li><a href="javascript:void(0)" content="pagers">页面列表</a></li>
			<li url="/manager.php?app=yu_editor&act=layout"><a href="javascript:void(0)" content="layouts">页面布局</a></li>
			<li url="/manager.php?app=yu_editor&act=widget"><a href="javascript:void(0)" content="widgets">内容组件</a></li>
		</ul>
		<div id="tool_save">
			<a href="javascript:void(0)" id="layout_show_btn" class="show_layout_btn hover_handle"></a>
			<a href="javascript:void(0)" class="undo_btn hover_handle"></a>
			<a href="javascript:void(0)" class="save_btn hover_handle"></a>
			<a href="javascript:void(0)" class="exit_btn hover_handle"></a>
		</div>
	</div>
	<ul id="tool_body" class="tabs_content">
		<li class="tabs_content_body selected" id="recommend">recommend</li>
		<li class="tabs_content_body" id="pagers">pagers</li>
		<li class="tabs_content_body" id="layouts"></li>
		<li class="tabs_content_body" id="widgets"></li>
	</ul>
	<div id="tooler_split">
		<a href="javascript:void(0);" class="hover_handle"></a>
	</div>
</div>
<div id="layout_context_menu">
	<ul>
		<li class="close"><a href="javascript:void(0)">删除</a></li>
		<li class="edit"><a href="javascript:void(0)">编辑</a></li>
	</ul>
</div>
<div id="editor_state">
	<dl>
		<dt>当前路径：</dt>
		<dd><a href="javascript:void(0)">全局</a></dd>
	</dl>
	<div id="sub_setting" class="editor_state_item"></div>
</div>
<div id="widget_bar_tools">
	<span class="ui-icon ui-icon-wrench"></span>
	<div class="menu_list">
		<a href="javascript:void(0)" onclick="layout_p_parent()" class="layout_parent"><span class="ui-icon ui-icon-arrowreturnthick-1-n"></span>选择父级</a>
		<a href="javascript:void(0)" onclick="layout_width_set()" class="width_set"><span class="ui-icon ui-icon-arrowthick-2-e-w"></span>宽度设置</a>
		<a href="javascript:void(0)" onclick="layout_edit_stop()" class="width_set_stop"><span class="ui-icon ui-icon-pause"></span>退出宽度设置</a>
		<a href="javascript:void(0)" onclick="layout_move_up()" class="move_up"><span class="ui-icon ui-icon-arrowthick-1-n"></span>上移</a>
		<a href="javascript:void(0)" onclick="layout_move_down()" class="move_down"><span class="ui-icon ui-icon-arrowthick-1-s"></span>下移</a>
		<a href="javascript:void(0)" onclick="del_layout()" class="layout_del"><span class="ui-icon ui-icon-trash"></span>删除布局</a>
	</div>
</div>
<script>
	var MAIN_DOMAIN = "!{$main_domain}";
	var SITE_ID = "!{$site_id}";
	var CACHE_URL = "!{$cache_url}";
	var TPL = "!{$tpl}";
	var APP = "!{$app}";
	var ACT = "!{$act}";
</script>
<script src="!{res lib='jquery_ui.js'}"></script>
<script src="!{res file='js/common.js'}"></script>
<script src="!{res file='js/json2.js'}"></script>
<script src="!{res file='yu_editor/js/jquery_yu_editor.js'}"></script>
<script src="!{res file='yu_editor/js/yu_editor.js'}"></script>
<script src="!{res file='js/jquery_plus/jquery.contextmenu.r2.packed.js'}"></script>
<script src="!{res file='js/jquery_plus/farbtastic/farbtastic.js'}"></script>
